﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class ShowCardInfoMan : MonoBehaviour
{
    public CardUI curShowInfoCard;
    private Text cardTitle;
    private Text cardDesc;
    void Start()
    {
        cardTitle = GameObject.Find("cardTitle").GetComponent<Text>();
    }


    void Update()
    {
        
    }

    public void setShowCard(CardUI cardUI){
        curShowInfoCard = cardUI;
        uiUpdate();
    }

    private void  uiUpdate(){
        cardTitle.text = curShowInfoCard.GetCardAttr().name;
        //cardDesc.text = curShowInfoCard.de
    }






}
